package ModelLayer;

/**
 * Write a description of class Rent here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Rent
{
    private int rentId;
    private String rentItemName;
    private String rentDescription;
    private int startDate;
    private int duration;
    private double dailyPrice;

    /**
     * Constructor for objects of class Rent.
     * @param rentId, the id of this rent.
     * @param rentItemName, the name of the item on this rent.
     * @param rentDescription, the description of this rent.
     * @param startDate, the start date of this rentperiod.
     * @param duration, the duration of this rentperiod.
     * @param dailyPrice, the dailyprice of this rent.
     */
    public Rent(int rentId, String rentItemName, String rentDescription, int startDate, int duration, double dailyPrice)
    {
        this.rentId = rentId;
        this.rentItemName = rentItemName;
        this.rentDescription = rentDescription;
        this.startDate = startDate;
        this.duration = duration;
        this.dailyPrice = dailyPrice;
    }

    /**
     * Sets new rent id.
     * @param rentId, the id to be set.
     */
    private void setRentId(int rentId)
    {
        this.rentId=rentId;
    }

    /**
     * Sets new name rentitemname.
     * @param rentItemName, the name to be set.
     */
    private void setRentItemName(String rentItemName)
    {
        this.rentItemName=rentItemName;
    }

    /**
     * Sets the rentdescription.
     * @param rentDescription, the rentdescription to be set.
     */
    private void setRentDescription(String rentDescription)
    {
        this.rentDescription=rentDescription;
    }

    /**
     * Sets the startdate of this rent.
     * @param startDate, the startDate to be set.
     */
    private void setStartDate(int startDate)
    {
        this.startDate=startDate;
    }

    /**
     * Sets the duration of this rent.
     * @param duration, the duration to be set.
     */
    private void setDuration(int duration)
    {
        this.duration=duration;
    }

    /**
     * Sets the daily price of this rent.
     * @param dailyPrice, the daily price to be set.
     */
    private void setDailyPrice(double dailyPrice)
    {
        this.dailyPrice=dailyPrice;
    }

    /**
     * Returns the id for this rent.
     * @return rentId, the id returned.
     */

    private int getRentId()
    {
        return rentId;
    }

    /**
     * Returns the name of the item on this rent.
     * @return rentItemName, the name returned.
     */
    private String getRentItemName()
    {
        return rentItemName;
    }

    /**
     * Returns the description of this rent.
     * @return rentDescription, the description returned.
     */
    private String getRentDescription()
    {
        return rentDescription;
    }

    /**
     * Returns the startdate of this rent.
     * @return startDate, the startdate returned.
     */
    private int getStartDate()
    {
        return startDate;
    }

    /**
     * Returns the duration of this rent.
     * @return duration, the duration returned.
     */
    private int getDuration()
    {
        return duration;
    }

    /**
     * Returns the daily price on this rent.
     * @return dailyPrice, the daily price returned.
     */
    private double getDailyPrice()
    {
        return dailyPrice;
    }
}
